<!DOCTYPE html>
<!-- 掘进专业计划页面 -->
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<%String actionUrl = request.getContextPath() + "/DispatchAction.do";%>
<html>
<EF:EFHead includeDefault="true">
<script type="text/javascript" src="./ZM/zm.js"></script>
</EF:EFHead>
<EF:EFBody>
	<EF:EFForm id="ZMCP12"  method="POST" action="<%=actionUrl%>">
	
		<EF:EFInput type="hidden" ename="fdProfessionalplanId" cname="专业计划ID"/>
		<EF:EFInput type="hidden" ename="fdPlanYear" cname="年份"/>
		<EF:EFInput type="hidden" ename="fdPlanMonth" cname="月份"/>

		<div id = "ef_region_inqu" title="查询条件" efRegionShowClear=true efRegionSave=true>
			<div class="row-fluid"> 
				<div class="span4">
					<EF:EFInput blockId="inqu_status" row="0" type="text" ename="fdTitle" cname="计划名称" etc=" style='width:140px;'"/>
				</div>
				<div class="span4">
					<EF:EFSelect blockId="inqu_status" row="0" ename="fdPlanStatus" cname="计划状态" etc=" style='width:140px;'">
						<EF:EFOptions blockId="cmes.cp.planStatus" labelColumn="display" valueColumn="value"></EF:EFOptions>
					</EF:EFSelect>
				</div>
				<div class="span4">
					<EF:EFInput blockId="inqu_status" row="0" type="text" ename="fdPlanYear" cname="计划年份" etc=" style='width:140px;'"/>
				</div>
			</div>
			<div class="row-fluid"> 
				<div class="span4">
					<EF:EFSelect blockId="inqu_status" row="0" ename="fdPlanMonth" cname="计划月份" etc=" style='width:140px;'">
						<EF:EFOptions blockId="cmes.cp.planMonth" labelColumn="display" valueColumn="value"></EF:EFOptions>
					</EF:EFSelect>
				</div>
			</div>
		</div>
		
		<div id="ef_region_result" title="月度掘进计划" style="overflow: scroll">
			<div id="ef_grid_r" title="页面信息" style="overflow: hidden; height: 320px;"></div>
		</div>
		
	    <div id = "ef_region_detail" title="计划明细信息" > 
			<div id = "ef_grid_d"  style="height:320px;"></div>
		</div>
		
		<EF:EFRegion />
		
	    <EF:EFGrid blockId="result" paintId="ef_grid_r" serviceName="ZMCP12" queryMethod="query" autoDraw="no" ajax="true">
			<EF:EFColumn ename="fdKeyId" cname="主键"  visible="false"/>
			<EF:EFColumn ename="fdDocId" cname="docId" visible="false"/>
			
			<EF:EFColumn ename="fdPlanStatus" cname="计划状态" enable="false" align="center" width="80"/>
			<EF:EFColumn ename="fdPlanType" cname="*计划类型" align="center" width="60" validateRegex="/^.+$/" validateErrorPrompt="不能为空" nullable="false" enable="false"/>
			<EF:EFColumn ename="fdTitle" cname="*计划名称" align="center" width="130" validateRegex="/^\S{1,50}$/" validateErrorPrompt="输入1~50个字符，不能输入空格" enable="false" />
			
			<EF:EFColumn ename="fdPlanYear" cname="*计划年份" align="center" width="60" validateRegex="/^[1-9][0-9]{3}$/" validateErrorPrompt="输入4位数字的年份" nullable="false" />
			<EF:EFComboColumn ename="fdPlanMonth" cname="*计划月份" align="center" width="60" blockName="cmes.cp.planMonth" labelProperty="display" valueProperty="value" nullable="false"/>
			<EF:EFColumn ename="fdCreateDate" cname="*编制日期" editType="date" dateFormat="yyyy-MM-dd" align="center" width="80" nullable="false"/>
			<EF:EFColumn ename="fdJcSum" cname="计划掘进总量" align="center" width="100" enable="false"/>
			<EF:EFColumn ename="fdJcKt" cname="生产开拓进尺"  align="center" width="100" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字" />
			<EF:EFColumn ename="fdJcSc" cname="生产进尺"  align="center" width="80" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字" />
			<EF:EFColumn ename="fdJcQy" cname="全岩巷（生产）"  align="center" width="110" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字" />
			<EF:EFColumn ename="fdJcYs" cname="延深进尺"  align="center" width="80" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字" />
			<EF:EFColumn ename="fdJcKtd" cname="开拓队进尺"  align="center" width="80" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字" />
			<EF:EFColumn ename="fdWscczc" cname="综掘进尺"  align="center" width="80" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字" />
			<EF:EFColumn ename="fdUnit" cname="*计量单位" align="center" width="80" validateRegex="/^\S{1,5}$/" validateErrorPrompt="输入1~5个字符，不能输入空格" enable="false" nullable="false" />
			<EF:EFColumn ename="fdAuditor" cname="审批人" align="center" width="80" visible="false"/>
		</EF:EFGrid>
		
		<EF:EFGrid blockId="result" paintId="ef_grid_d"  serviceName="ZMCP13" queryMethod="query" autoDraw="no" ajax="true">
			<EF:EFColumn ename="fdKeyId" cname="主键" visible="false"/>
			
			<EF:EFColumn ename="fdBeginDate" cname="*开工日期" align="center" width="80" dateFormat="yyyy-MM-dd" editType="date" validateRegex="/^.+$/" validateErrorPrompt="不能为空" nullable="false"/>
			<EF:EFComboColumn ename="fdProjectId" cname="*巷道" align="center" width="160" blockName="cmes.cp.roadway" labelProperty="fdNoName" valueProperty="fdKeyId" nullable="false"/>
			<EF:EFComboColumn ename="fdDepartmentId" cname="*施工部门" align="center" width="80" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" nullable="false"/>
			<EF:EFComboColumn ename="fdDrivingMode" cname="*掘进方式" blockName="cmes.cs.grubProcess" align="center" width="80" labelProperty="display" valueProperty="display" nullable="false"/>
			<EF:EFColumn ename="fdPlanSum" cname="*月度计划(m)" align="center" width="80" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字" nullable="false"/>
			<EF:EFComboColumn ename="fdTunnelType" cname="*工程类别" align="center" width="100" blockName="cmes.cs.engineeringClass" labelProperty="display" valueProperty="value" nullable="false"/>	   
			<EF:EFComboColumn ename="fdRockCategory" cname="*煤岩类别" align="center" width="80" blockName="cmes.cs.mineRock" labelProperty="display" valueProperty="value" nullable="false"/>
			<EF:EFComboColumn ename="fdSupportForm" cname="*支护方式" align="center" width="80" blockName="cmes.cs.supportingType" labelProperty="display" valueProperty="value" nullable="false"/>
			<EF:EFComboColumn ename="fdRoadWayUsing" cname="巷道用途" align="center" width="80"  blockName="cmes.cs.roadwayUsing" labelProperty="display" valueProperty="display"/>
			<EF:EFColumn ename="fdExcavatedSection" cname="S毛(㎡)" align="center" width="80" validateRegex="/((^\d{0,8}$)|(^\d{1,8}\.\d{0,2}$)|(^0\.\d{0,2}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过2位的数字" />
			<EF:EFColumn ename="fdPlanCrossDay" cname="生产天数" align="center" width="80" validateRegex="/^[1-9]\d{0,4}$/" validateErrorPrompt="输入长度不超过5位的正整数"/>
			<EF:EFComboColumn ename="fdZz" cname="装渣" blockName="cmes.cp.zzType" align="center" width="80" labelProperty="value" valueProperty="value" />
			<EF:EFComboColumn ename="fdQualityGrade" cname="质量等级" blockName="cmes.cp.qualityGrade" align="center" width="80" labelProperty="display" valueProperty="value" />
			<EF:EFColumn ename="fdRemarks" cname="备注" align="center" width="120" validateRegex="/^.{0,250}$/" validateErrorPrompt="输入0~250个字符" editType="textarea"/>
		 </EF:EFGrid>
		 
	</EF:EFForm> 
</EF:EFBody> 
</html>